package com.shiro.test.mvc.dao;

import com.shiro.test.mvc.pojo.Role;

import java.util.List;

/**
 * Created by Administrator on 2020/11/26 0026.
 */
public interface IBaseDao<T> {

    int deleteByPrimaryKey(Integer id);

    int insert(T t);

    int insertSelective(T t);

    T selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(T t);

    int updateByPrimaryKey(T t);

}
